@root-entry-name: 'default';
@import (reference) '~antd-v4/es/style/themes/index.less';

@pro-form-login-prefix-cls: ~'@{ant-prefix}-pro-form-login-page';

.@{pro-form-login-prefix-cls} {
  display: flex;
  width: 100%;
  height: 100%;
  background-size: contain;
}

.@{pro-form-login-prefix-cls}-notice {
  display: flex;
  flex: 1;
  align-items: flex-end;

  &-activity {
    margin: 24px;
    padding: 24px;
    &-title {
      font-weight: 500;
      font-size: 28px;
    }
    &-subTitle {
      margin-top: 8px;
      font-size: 16px;
    }

    &-action {
      margin-top: 24px;
    }
  }
}

.@{pro-form-login-prefix-cls}-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 550px;
  height: 100%;
  padding: 32px 0;
  overflow: auto;
  background: inherit;
  background: #fff;
}

@media (max-width: @screen-md-min) {
  .@{pro-form-login-prefix-cls} {
    flex-direction: column-reverse;
    background: none !important;
    .@{pro-form-login-prefix-cls}-notice {
      display: flex;
      flex: none;
      align-items: flex-start;
      width: 100%;
      > div {
        width: 100%;
      }
    }
  }
}

@media (min-width: @screen-md-min) {
  .@{pro-form-login-prefix-cls}-container {
    padding: 128px 0 24px;
    background-repeat: no-repeat;
    background-position: center 110px;
    background-size: 100%;
  }
}

.@{pro-form-login-prefix-cls}-top {
  text-align: center;
}

.@{pro-form-login-prefix-cls}-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  line-height: 44px;
  a {
    text-decoration: none;
  }
}

.@{pro-form-login-prefix-cls}-title {
  position: relative;
  top: 2px;
  color: @heading-color;
  font-weight: 600;
  font-size: 33px;
}

.@{pro-form-login-prefix-cls}-logo {
  width: 44px;
  height: 44px;
  margin-right: 16px;
  vertical-align: top;

  img {
    width: 100%;
  }
}

.@{pro-form-login-prefix-cls}-desc {
  margin-top: 12px;
  margin-bottom: 40px;
  color: @text-color-secondary;
  font-size: @font-size-base;
}
@media screen and (max-width: @screen-sm) {
  .@{pro-form-login-prefix-cls}-main {
    width: 95%;
    max-width: 328px;
  }
}

.@{pro-form-login-prefix-cls}-main {
  width: 328px;
  margin: 0 auto;

  .@{ant-prefix}-tabs-nav-list {
    margin: 0px auto;
    font-size: 16px;
  }

  .@{pro-form-login-prefix-cls}-other {
    margin-top: 24px;
    line-height: 22px;
    text-align: left;
  }
}
